#ifndef __TOOLBAR_H__ 
#define __TOOLBAR_H__

#include <QWidget>
#include <QLabel>
#include <QGridLayout>
class LabelButton;

class Toolbar : public QWidget
{
	Q_OBJECT
public:
	Toolbar(QWidget* parent = NULL);

public:
	QLabel* m_selected;
	QGridLayout* layout;

	QPixmap& currentPixmap(){ return m_pixmapCurrent; }
	QString& currentString(){ return m_stringCurrent; }
public slots:
	void selectVloer();
	void selectMuur();
	void selectLaser();
	void selectLaserRot90();
	void selectLaserRot180();
	void selectLaserRot270();
	void selectAfgrond();
	void selectDrain();
	void selectReparatievak();
	void selectStartpunt();
	void selectCheckpoint();
	void selectCheckpoint2();
	void selectCheckpoint3();

	void hideCheckpoints();
	void hideLasers();
	void showLasers();
	void showCheckpoints();

public slots:
	// selecteert het vakje
	void select(const QString& vakje);

private:
	LabelButton* check[3];
	LabelButton* laser[4];

	QPixmap m_pixmapCurrent;
	QString m_stringCurrent;	
};

#endif
